package com.atguigu.spring.service;

import org.springframework.stereotype.Component;

/**
 * @author jingchun
 * @create 2024-06-06 22:13
 */

@Component
public class PaymentFallbackService implements PaymentHystrixService {

	@Override
	public String paymentInfo_OK(Integer id) {
		return "-----PaymentFallbackService fall back-paymentInfo_OK ,o(╥﹏╥)o";
	}

	@Override
	public String paymentInfo_TimeOut(Integer id) {
		return "-----PaymentFallbackService fall back-paymentInfo_TimeOut ,o(╥﹏╥)o";
	}
}
